<?php
	$shengList = ['河北省','黑龙江省','日本省'];
	$shiList = [['保定市','石家庄'],['大庆市','哈尔滨市','齐齐哈尔市'],['广岛市','长崎市']];
	$quList = [[['保定1区','保定2区'],['石1区','石3区','石9区']],
					[['大庆2区','大庆11区'],['哈1区','哈2区'],['齐2区','齐3区','齐4区']],
					[['广岛1区','广岛2区','广岛3区'],['长崎2区','长崎3区','长崎4区','长崎原子区']]];
	// $shengList = ['广西壮族自治区','广东','湖北'];
 //    $shilist=[['南宁','桂林','柳州'],['广州','深圳','东莞'],['武汉','荆门','襄阳']];
 //    $qulist=[[['南1区','南2区','南3区'],['桂1区','桂2区','桂3区'],['柳1区','柳2区','柳3区']],
 //            [['广1区','广2区','广3区'],['深1区','深2区','深3区'],['东1区','东2区']],
 //            [['武1区','武2区','武3区'],['荆1区','荆2区','荆3区'],['襄1区','襄2区','襄3区']]];
    
    $type=$_GET['type'];
    if($type==0){
        echo json_encode($shengList);
    }elseif($type==1){
        $shengInedx=$_GET['sheng'];
        $success = [$shiList[$shengInedx],$quList[$shengInedx][0]];
        echo json_encode($success);
    }else if($type==2){
        $shengInedx=$_GET['sheng'];
        $shinInedx=$_GET['shi'];
        echo json_encode($quList[$shengInedx][$shinInedx]);
    }
		
?>